dotConnect for SQL Server Documentation
Devart.Common Namespace / ParentDataRelation Class / ParentDataRelation Constructor
A DbDataTable that is used as master dataset.
List of master columns used to establish the relation.
List of child columns used to establish the relation.

In This Topic
    ParentDataRelation Constructor
    In This Topic
    Initializes a new instance of the ParentDataRelation class using the specified parent DbDataTable and matched arrays of parent and child column names.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal parentTable As IListSource, _
       ByVal parentColumnNames() As String, _
       ByVal childColumnNames() As String _
    )
    public ParentDataRelation( 
       IListSource parentTable,
       string[] parentColumnNames,
       string[] childColumnNames
    )

    Parameters

    parentTable
    A DbDataTable that is used as master dataset.
    parentColumnNames
    List of master columns used to establish the relation.
    childColumnNames
    List of child columns used to establish the relation.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also